import request from '@/utils/request'

// 查询主题低代码 活动列表
export function listThemePartyBuilding(query) {
  return request({
    url: '/masterRecord/themePartyBuilding/list',
    method: 'get',
    params: query
  })
}

// 查询主题低代码 活动详细
export function getThemePartyBuilding(ctId) {
  return request({
    url: '/masterRecord/themePartyBuilding/' + ctId,
    method: 'get'
  })
}

// 新增主题低代码 活动
export function addThemePartyBuilding(data) {
  return request({
    url: '/masterRecord/themePartyBuilding',
    method: 'post',
    data: data
  })
}

// 修改主题低代码 活动
export function updateThemePartyBuilding(data) {
  return request({
    url: '/masterRecord/themePartyBuilding/edit',
    method: 'post',
    data: data
  })
}

// 删除主题低代码 活动
export function delThemePartyBuilding(ctId) {
  return request({
    url: '/masterRecord/themePartyBuilding/delete/' + ctId,
    method: 'post'
  })
}

// 导出主题低代码 活动
export function exportThemePartyBuilding(query) {
  return request({
    url: '/masterRecord/themePartyBuilding/export',
    method: 'get',
    params: query
  })
}
